/***************************************
 *Header name: MainFace.h              *
 *Author: Gu Zhengxiong                *
 *Version: 2013.11.22.2                  *
 *Description:The header defines       *
 *something related to the program's   *
 *interface.                           *
****************************************/

# ifndef STUDENT_MANAGEMENT_MAINFACE_H
# define STUDENT_MANAGEMENT_MAINFACE_H

enum
Selection
{
	QUIT = 9, ADD = 2, DEL = 7, LOAD = 1, TO_FILE = 8, SORT = 6,
    INQUIRE = 3, MOD = 4, DISP = 5
};
enum
Error
{
	IN_ERR = 0, MAL_ERR, UNFOUND, NO_RECORD
};

void
SetCmdProperty (void);
void
ShowFace (void);
void
ShowError (int error_type);

# endif